package cn.wolfcode.luowowo.service;


import cn.wolfcode.luowowo.domain.Travel;
import cn.wolfcode.luowowo.query.TravelObjcet;
import org.springframework.data.domain.Page;

import java.util.List;

public interface ITravelService {
    Travel get(String id);
    List<Travel> list();
    Page<Travel> query(TravelObjcet qo);
    void saveOrUpdate(Travel travel);
    void delete(String id);
    void save(Travel travel);
    void update(Travel travel);

    void changeState(String id, int state);
}
